package com.zeroone.star.systemhome.mapper.file;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zeroone.star.project.dto.systemhome.FileDTO;
import com.zeroone.star.project.vo.systemhome.FileStatisticsVO;
import com.zeroone.star.systemhome.entity.FileAttachment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @BelongsProject: oa-java
 * @BelongsPackage: com.zeroone.star.systemhome.mapper.file
 * @Author: dashuai
 * @CreateTime: 2024-11-18  16:44
 * @Description: 文件mapper
 * @Version: 1.0
 */
@Mapper
public interface FileMapper extends BaseMapper<FileAttachment> {
    List<FileDTO> selectMyFile(String id);

    //TODO
    FileStatisticsVO countFile(String id);
}
